<!DOCTYPE html>
<html>
<head>

    <title>微信公众平台管理</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="微信公众平台管理">
    <meta http-equiv="description" content="微信公众平台管理">
    <link rel="stylesheet"
          href="css/base.css">
    <link rel="stylesheet"
          href="css/index.css">
    <link rel="stylesheet"
          href="css/menu.css">
    <link
            href="js/My97DatePicker/skin/WdatePicker.css"
            rel="stylesheet" type="text/css"/>
    <script
            src="js/jquery-1.12.3.min.js"></script>
    <script src="js/jquery.form.js"></script>
    <script type="text/javascript"
            src="js/My97DatePicker/WdatePicker.js"></script>
    <script src="js/index.js"></script>
    <script src="js/menu.js"></script>
</head>
<body>
<!-- 加载提示框 -->


<div class="m_header">
    <div class="m_topbar">
        <div class="wrap clear">
            <div class="m_logo_box fl">
                <span>微信公众平台管理</span>
            </div>
            <div class="m_user_box fr">
                <span>${userInfo.userName}</span> <a href="javascript:;"
                                                     class="icon16 gray_exit" title="退出登录"></a>
            </div>
        </div>
    </div>
    <div class="m_nav ">
        <div class="wrap">
            <ul class="m_nav_list ">
                <li class="active"><a menu-type="type-index"
                                      href="javascript:;">公众号管理</a></li>
                <li class=""><a menu-type="type-count" href="javascript:;">菜单管理</a></li>

            </ul>
        </div>
    </div>
</div>
<!-- end header -->
<div class="line_h20"></div>
<!-- content -->
<div class="i_create_panel wrap type-index">
    <a href="javascript:;" class="i_create_btn btn">新增公众号</a>
</div>
<div class="line_h10"></div>
<div class="m_table_panel wrap type-index">
    <table cellspacing="0" cellpadding="0" class="i_table">
        <thead>
        <tr>

            <th>名称</th>
            <th>账号</th>
            <th>密码</th>
            <th>APPID</th>
            <th>APPSECRET</th>
            <th>类型</th>
            <th>描述</th>
            <th>时间</th>
            <th width="30px;">操作</th>
        </tr>
        </thead>
        <tbody>

        </tbody>
    </table>
</div>
<!-- content -->
<div class="m_table_panel wrap type-count" style="display:none;">
    <table cellspacing="0" cellpadding="0" class="i_table">
        <thead>
        <tr>
            <th>公众号</th>
            <th width="30px;">操作</th>
        </tr>
        </thead>
        <tbody>
        </tbody>
    </table>
</div>
<div class="line_h20"></div>
<div class="page_panel ">
    <a href="javascript:;" class="page_prev">上一页</a> <span
        class="page_num"> <label class="page_cur">-</label> <em
        class="page_gap">/</em> <label class="page_all">-</label><em
        class="page_gap">/</em><label
        class="total">/</label>
		</span> <a href="javascript:;" class="page_next">下一页</a> <span
        class="page_input clear"> <input type="text" id="goNum"
                                         class="text"> <input type="submit" class="page_goto"
                                                              value="GO">
		</span>
</div>
<!-- end content -->
<!-- 页脚 -->
<!-- dialog -->
<!-- 新增问题弹出框 -->
<div class="dialog" id="js_edit_question">
    <div class="dialog_main dialog_bw_main">
        <div class="dialog_hd">
            <h3>编辑公众号</h3>
            <a href="javascript:;" class="closed">关闭</a>
        </div>
        <div class="dialog_bd">
            <div class="dialog_bd_content">
                <form id="wechatForm" method="post"
                      action="wechat/wechat-save">
                    <dl class="i_edit_item clear">
                        <dt>公众号名称：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <input type="text" name="name" id="wechatName"
                                       class="text"/>
                            </div>

                        </dd>
                    </dl>
                    <dl class="i_edit_item clear">
                        <dt>公众平台账号：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <input type="text" name="account" id="wechatAccount"
                                       class="text"/>
                            </div>

                        </dd>
                    </dl>
                    <dl class="i_edit_item clear">
                        <dt>公众平台密码：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <input type="text" name="password" id="wechatPassword"
                                       class="text"/>
                            </div>

                        </dd>
                    </dl>
                    <dl class="i_edit_item clear">
                        <dt>APPID：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <input type="text" name="appId" id="appId" class="text"/>

                            </div>

                        </dd>
                    </dl>
                    <dl class="i_edit_item clear">
                        <dt>APPSECRET：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <input type="text" name="appSecret" id="appSecret" class="text"/>

                            </div>

                        </dd>
                    </dl>
                    <dl class="i_edit_item clear">
                        <dt>公众号类型：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <select class="text" name="type" id="wechatType">
                                    <option value="">请选择</option>
                                    <option value="订阅号">订阅号</option>
                                    <option value="服务号">服务号</option>
                                    <option value="应用号">应用号</option>
                                    <option value="测试号">测试号</option>
                                </select>

                            </div>

                        </dd>
                    </dl>
                    <dl class="i_edit_item clear">
                        <dt>公众号描述：</dt>
                        <dd>
                            <div class="i_answer_edit">
                                <textarea class="text" name="memo" id="wechatMemo"></textarea>

                            </div>

                        </dd>
                    </dl>
                </form>
            </div>
        </div>
        <div class="dialog_ft">
            <a class="m_btn m_btn_confirm mr65 addBtn" href="javascript:;">确
                定</a> <a class="m_btn m_btn_cancel cancelBtn" href="javascript:;">取
            消</a>
        </div>
    </div>
</div>

<!-- 新增问题弹出框 -->
<div class="dialog" id="js_edit_menu">
    <div class="dialog_main dialog_bw_main">
        <div class="dialog_hd">
            <h3>菜单编辑</h3>
            <a href="javascript:;" class="closed">关闭</a>
        </div>
        <div class="dialog_bd">
            <div class="dialog_bd_content">
                <div class="menu_setting_area js_editBox">
                    <div class="menu_preview_area">
                        <div class="mobile_menu_preview">
                            <div class="mobile_hd tc"></div>
                            <div class="mobile_bd">
                                <ul
                                        class="no_menu pre_menu_list grid_line ui-sortable ui-sortable-disabled"
                                        id="menuList">
                                    <li
                                            class="js_addMenuBox pre_menu_item grid_item no_extra size1of1">
                                        <a href="javascript:void(0);"
                                           class="pre_menu_link js_addL1Btn" title="最多添加3个一级菜单"> <i
                                                class="icon14_menu_add"></i> <span class="js_addMenuTips">添加菜单</span>
                                        </a>
                                    </li>

                                </ul>
                            </div>
                        </div>

                    </div>
                    <div class="menu_form_area">
                        <div id="js_none" class="menu_initial_tips tips_global"
                             style="display: block;">点击左侧菜单进行编辑操作
                        </div>
                        <div id="js_rightBox" class="portable_editor to_left"
                             style="display: none;">
                            <form action="" id="editForm">
                                <div class="editor_inner">
                                    <div
                                            class="global_mod float_layout menu_form_hd js_second_title_bar">
                                        <h4 class="global_info">菜单名称</h4>
                                        <div class="global_extra">
                                            <a href="javascript:void(0);" id="jsDelBt" menu-id="">删除菜单</a>
                                        </div>
                                    </div>
                                    <div class="menu_form_bd" id="view"></div>
                                    <div class="frm_control_group js_setNameBox">
                                        <label for="" class="frm_label"> <strong
                                                class="title js_menuTitle">菜单名称</strong>
                                        </label>
                                        <div class="frm_controls">
												<span class="frm_input_box with_counter counter_in append">
													<input type="hidden" id="wechatId" value=""/> <input
                                                        type="hidden" id="menu-id" value=""/> <input type="text"
                                                                                                     id="menuName"
                                                                                                     name="menuName"
                                                                                                     class="frm_input ">
												</span>

                                            <p class="frm_tips js_titleNolTips">字数不超过8个汉字或16个字母</p>
                                        </div>
                                    </div>
                                    <div class="frm_control_group js_setNameBox hasSubMenu">

                                        <div class="frm_controls">
                                            <input type="checkbox" id="hasSubMenu" value="1"/> 不设置子菜单

                                        </div>
                                    </div>
                                    <div class="frm_control_group js_setNameBox otherSet">
                                        <div class="frm_control_group js_setNameBox">
                                            <label for="" class="frm_label"> <strong
                                                    class="title js_menuTitle">菜单类型</strong>
                                            </label>
                                            <div class="frm_controls">

                                                <select name="menuType" class="text-select" id="menuType">
                                                    <option value="">请选择</option>
                                                    <option value="view">view</option>
                                                    <option value="click">click</option>
                                                </select>


                                                <p class="frm_tips js_titleNolTips">view类型为添加链接click为点击类型</p>
                                            </div>
                                        </div>
                                        <div class="frm_control_group js_setUrlBox">
                                            <label for="" class="frm_label"> <strong
                                                    class="title js_menuTitle">菜单URL</strong>
                                            </label>
                                            <div class="frm_controls">
													<span class="frm_input_box with_counter counter_in append">
														<input type="text" name="menuUrl" id="menuUrl"
                                                               class="frm_input">
													</span>

                                                <p class="frm_tips js_titleNolTips">当类型为view时填写</p>
                                            </div>


                                        </div>
                                        <div class="frm_control_group js_setKeyBox">
                                            <label for="" class="frm_label"> <strong
                                                    class="title js_menuTitle">菜单key</strong>
                                            </label>
                                            <div class="frm_controls">
													<span class="frm_input_box with_counter counter_in append">
														<input type="text" name="menuKey" id="menuKey"
                                                               class="frm_input ">
													</span>

                                                <p class="frm_tips js_titleNolTips">当类型为click时填写任意字符</p>
                                            </div>
                                        </div>

                                    </div>
                                    <div class="">
                                        <a class="mr65 addMenuBtn m_btn m_btn_ok" href="javascript:;">添加</a>
                                    </div>
                                    <span class="editor_arrow_wrp"> <i
                                            class="editor_arrow editor_arrow_out"></i> <i
                                            class="editor_arrow editor_arrow_in"></i>
										</span>

                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
            <div class="dialog_ft">
                <a class="m_btn m_btn_confirm mr65 submitBtn" href="javascript:;">提交菜单</a>
                <a class="m_btn m_btn_cancel cancelBtn" href="javascript:;">关闭不设置</a>
            </div>
        </div>
    </div>
</div>
<div class="dialog" id="loading"
     style="background-color:rgba(0,0,0,0);">
    <div class="load">
        <div class="load_wrap">
            <img src="images/loading.gif">
            <div class="load-title">加载中..</div>
        </div>
    </div>
</div>
<div class="dialog" id="submiting"
     style="background-color:rgba(0,0,0,0);">
    <div class="load">
        <div class="load_wrap">
            <img src="images/loading.gif">
            <div class="load-title">菜单创建中..</div>
        </div>
    </div>
</div>
</body>
</html>
